#ifndef ADDRDELEGATE_H
#define ADDRDELEGATE_H

#include <QItemDelegate>
class AddrDelegate : public QItemDelegate
{
public:
    AddrDelegate();

    // QAbstractItemDelegate interface
public:
    QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const;
    void setEditorData(QWidget *editor, const QModelIndex &index) const;
    void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const;
};

#endif // ADDRDELEGATE_H
